projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39a035e
)
Fix return values of set-file-acl and set-file-selinux-context when ENOTSUP.
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 29 Dec 2012 17:02:34 +0000
(19:02 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 29 Dec 2012 17:02:34 +0000
(19:02 +0200)
Fixes: debbugs:13298
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index e824a7abcc5c95d23a82df114a5921049e73be35..241775abec1d29d67984a8304fe3d52cdc1d2aeb 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-3065,7
+3065,7
@@
or if Emacs was not compiled with SELinux support. */)
context_free (parsed_con);
freecon (con);
- return Qt;
+ return
fail ? Qnil :
Qt;
}
else
report_file_error ("Doing lgetfilecon", Fcons (absname, Qnil));
@@
-3171,7
+3171,7
@@
support. */)
report_file_error ("Setting ACL", Fcons (absname, Qnil));
acl_free (acl);
- return Qt;
+ return
fail ? Qnil :
Qt;
}
#endif